package cn.com.template.controller;

/**
 * 为Datatable定制返回JSON对象格式:
 * 成功标志
 * 数据对象[][]
 */
public class JSONResponse {
	//成功、失败标志
	private boolean successed = false;
	//成功时返回的对象
	private Object returnObject = null;
	
	public void setSuccessed(boolean successed) {
		this.successed = successed;
	}
	public boolean isSuccessed() {
		return successed;
	}
	public void setReturnObject(Object returnObject) {
		this.returnObject = returnObject;
	}
	public Object getReturnObject() {
		return returnObject;
	}
}
